<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=0">

		<title>个人资料</title>

		<link href="/static/index/AmazeUI-2.4.2/assets/css/admin.css" rel="stylesheet" type="text/css">
		<link href="/static/index/AmazeUI-2.4.2/assets/css/amazeui.css" rel="stylesheet" type="text/css">

		<link href="/static/index/css/personal.css" rel="stylesheet" type="text/css">
		<link href="/static/index/css/infstyle.css" rel="stylesheet" type="text/css">
		<script src="/static/index/AmazeUI-2.4.2/assets/js/jquery.min.js" type="text/javascript"></script>
		<script src="/static/index/AmazeUI-2.4.2/assets/js/amazeui.js" type="text/javascript"></script>
			
	</head>

	<body>
		<!--头 -->
		<header>
			<article>
				<div class="mt-logo">
					<!--顶部导航条 -->
					<div class="am-container header">
						<ul class="message-l">
						</ul>
						<ul class="message-r">
							<div class="topMessage home">
								<div class="menu-hd"><a href="{:url('index/index/index')}" target="_top" class="h">商城首页</a></div>
							</div>
							<div class="topMessage favorite">
								<div class="menu-hd"><a href="#" target="_top"><i class="am-icon-heart am-icon-fw"></i><span></span></a></div>
						</ul>
						</div>

						<!--悬浮搜索框-->

						<div class="nav white">
							<div class="logoBig">
						
								<li><img src="/static/index/images/logo1.png" alt=""/><br></a></li>
							</div>

							<div class="search-bar pr">
								<a name="index_none_header_sysc" href="#"></a>
							</div>
						</div>

						<div class="clear"></div>
					</div>
				</div>
			</article>
		</header>
            <div class="nav-table">
					   
					   <div class="nav-cont">
							<ul>
							</ul>
						    <div class="nav-extra">
						    	<i class="am-icon-user-secret am-icon-md nav-user"></i><b></b>
						    	<i class="am-icon-angle-right" style="padding-left: 5px;"></i>
						    	<div class="long-title" style="margin-left:15px"><span class="all-goods" style="margin-right:20px">个人中心</span></div>
						    </div>
						</div>
			</div>
			<b class="line"></b>
		<div class="center">
			<div class="col-main">
				<div class="main-wrap">

					<div class="user-info">
						<!--标题 -->
						<div class="am-cf am-padding">
							<div class="am-fl am-cf"><strong class="am-text-danger am-text-lg">个人资料</strong> / <small>Personal&nbsp;information</small></div>
						</div>
						<hr/>

						<!--头像 -->
						

						<!--个人信息 -->
						<div class="info-main">
	<form class="am-form am-form-horizontal" method="post" enctype= 'multipart/form-data' action = "{:url('index/Personal/savee')}">

						<div class="user-infoPic">

						<div class="filePic">
							<!-- /uploads/icon/{$list.icon} -->
							<img class="am-circle am-img-thumbnail" style="height:80px" src="/uploads/icon/{$list.icon}">
							<input type="file" name="icon">
						</div>

							
						</div>
								<div class="am-form-group">
									<label for="user-name2" class="am-form-label">昵称</label>
									<div class="am-form-content">
										<input type="text" name="nickname" id="user-name2" placeholder="请输入您的昵称" value="{$list.nickname}">

									</div>
								</div>

								<div class="am-form-group">
									<label for="user-name" class="am-form-label">账号名</label>
									<div class="am-form-content">
										<input type="text" name="name" id="user-name2" placeholder="name" value="{$list.name}" readonly>

									</div>
								</div>

								<div class="am-form-group">
									<label class="am-form-label">性别</label>
									<div class="am-form-content sex">
										<label class="am-radio-inline">
											<input type="radio" name="sex" value="1" data-am-ucheck {$list['sex']==1? 'checked':''}>男
										</label>
										<label class="am-radio-inline">
											<input type="radio" name="sex" value="2" data-am-ucheck {$list['sex']==2? 'checked':''}> 女
										</label>
										<label class="am-radio-inline">
											<input type="radio" name="sex" value="3" data-am-ucheck {$list['sex']==3? 'checked':''}> 保密
										</label>
									</div>
								</div>

								<div class="am-form-group">
									<label for="user-birth" class="am-form-label">生日</label>
									<div class="am-form-content birth">
										<div class="birth-select">
										<input type="date" name="birthday" value="{$list.birthday}">
										</div>
									</div>
							
								</div>
								<div class="am-form-group">
									<label for="user-phone" class="am-form-label">电话</label>
									<div class="am-form-content">
										<input id="user-phone" name="tel" type="tel" value="{$list.tel}" readonly>

									</div>
								</div>
								<div class="am-form-group">
									<label for="user-email" class="am-form-label">电子邮件</label>
									<div class="am-form-content">
										<input id="user-email" name="email" type="email" value="{$list.email}" readonly>

									</div>
								</div>
								
								
								<div class="info-btn">
									<button type="submit" class="am-btn am-btn-danger">保存修改</button>
								</div>

							</form>
						</div>

					</div>

				</div>
				<!--底部-->
				
			</div>

			<aside class="menu">
                <ul>
                    
                    <li class="person">
                        <a href="{:url('index/Personal/index')}">个人资料</a>
                    </li>
                    <li class="person">
                        <a href="{:url('index/Personal/pwdhtml')}">修改密码</a>
                    </li>
                    <li class="person">
                        <p>我的订单</p>
                    </li>
                            <li> <a href="{:url('index/Personal/readyorder')}">已完成订单</a></li>
                            <li> <a href="{:url('index/Personal/order')}">未完成订单</a></li>
                    <li class="person">
                        <a href="{:url('index/personal/perComment')}">我的评论</a>
                    </li>

                

                </ul>

            </aside>
		</div>

	</body>

</html>